package org.example.auth.api;

import org.example.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("sms-service")
public interface SmsService {
    @GetMapping("/sms/front/sendCode")
    R<?> sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}